projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0401146
)
separator toolitem: Respect ::draw property
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 3 Jan 2016 01:53:54 +0000
(20:53 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 3 Jan 2016 01:55:37 +0000
(20:55 -0500)
This was lost when I converted the widget to use a gadget.
https://bugzilla.gnome.org/show_bug.cgi?id=760018
gtk/gtkseparatortoolitem.c
patch
|
blob
|
history
diff --git
a/gtk/gtkseparatortoolitem.c
b/gtk/gtkseparatortoolitem.c
index 6519d2d056c61a52afe15b5b28d7e448ada3e5a8..57ad584b2e9facf07d5316028173e98ab8c31c0c 100644
(file)
--- a/
gtk/gtkseparatortoolitem.c
+++ b/
gtk/gtkseparatortoolitem.c
@@
-413,7
+413,8
@@
static gboolean
gtk_separator_tool_item_draw (GtkWidget *widget,
cairo_t *cr)
{
- gtk_css_gadget_draw (GTK_SEPARATOR_TOOL_ITEM (widget)->priv->gadget, cr);
+ if (GTK_SEPARATOR_TOOL_ITEM (widget)->priv->draw)
+ gtk_css_gadget_draw (GTK_SEPARATOR_TOOL_ITEM (widget)->priv->gadget, cr);
return FALSE;
}